﻿using System;
using DBA.Common;
using System.Collections;
using System.Collections.Generic;

namespace DBA.Model
{
    /// <summary>
    ///功能描述    :    EmployeeInfo
    ///开发者      :    
    ///建立时间    :    2012-08-22 13:49:28
    ///修订描述    :    
    ///进度描述    :    
    ///版本号      :    1.0
    ///最后修改时间:    2012-08-22 13:49:28
    /// </summary>
        [OrmPropertyAttribute(TableName = "EmployeeInfo",PrimaryKey = "EmployeeID",PrimaryKeyType = "IDENTITY",ParameterType = "int")]
    public class EmployeeInfo
    {
        #region 构造函数
        public EmployeeInfo(){}
        
        public EmployeeInfo(int EmployeeID,string Name,string SalaryID,string Password,bool Sex,int Xi_ID,int Suo_ID,DateTime BirthDay,DateTime jszwzgTime,int jszwzgID,string jszwzgClass,int Degree,int EaID,int PD_id,int dpt_id,DateTime SchoolTime,DateTime JoinWorkTime,DateTime JoinPartTime,string Political,string TeacherClass,string Speciality,DateTime GraduteTime,string GtaduteSchool,string Bachelor,DateTime BachelorTime,string Reserch,string Country,string HomeTown,string IDNumber,string PhoneNum,string Eamil,string SubjectPartTime)
        {
           this._EmployeeID = EmployeeID;
           this._Name = Name;
           this._SalaryID = SalaryID;
           this._Password = Password;
           this._Sex = Sex;
           this._Xi_ID = Xi_ID;
           this._Suo_ID = Suo_ID;
           this._BirthDay = BirthDay;
           this._jszwzgTime = jszwzgTime;
           this._jszwzgID = jszwzgID;
           this._jszwzgClass = jszwzgClass;
           this._Degree = Degree;
           this._EaID = EaID;
           this._PD_id = PD_id;
           this._dpt_id = dpt_id;
           this._SchoolTime = SchoolTime;
           this._JoinWorkTime = JoinWorkTime;
           this._JoinPartTime = JoinPartTime;
           this._Political = Political;
           this._TeacherClass = TeacherClass;
           this._Speciality = Speciality;
           this._GraduteTime = GraduteTime;
           this._GtaduteSchool = GtaduteSchool;
           this._Bachelor = Bachelor;
           this._BachelorTime = BachelorTime;
           this._Reserch = Reserch;
           this._Country = Country;
           this._HomeTown = HomeTown;
           this._IDNumber = IDNumber;
           this._PhoneNum = PhoneNum;
           this._Eamil = Eamil;
           this._SubjectPartTime = SubjectPartTime;

        }
        #endregion
        
        #region 成员
        private int _EmployeeID;
        private string _Name;
        private string _SalaryID;
        private string _Password;
        private bool _Sex;
        private int _Xi_ID;
        private int _Suo_ID;
        private DateTime _BirthDay;
        private DateTime _jszwzgTime;
        private int _jszwzgID;
        private string _jszwzgClass;
        private int _Degree;
        private int _EaID;
        private int _PD_id;
        private int _dpt_id;
        private DateTime _SchoolTime;
        private DateTime _JoinWorkTime;
        private DateTime _JoinPartTime;
        private string _Political;
        private string _TeacherClass;
        private string _Speciality;
        private DateTime _GraduteTime;
        private string _GtaduteSchool;
        private string _Bachelor;
        private DateTime _BachelorTime;
        private string _Reserch;
        private string _Country;
        private string _HomeTown;
        private string _IDNumber;
        private string _PhoneNum;
        private string _Eamil;
        private string _SubjectPartTime;
        #endregion
        
        #region 属性
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "0")]
        public virtual int EmployeeID
        {
            get { return _EmployeeID; }
            set { _EmployeeID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 40,IsNull = "1")]
        public virtual string Name
        {
            get { return _Name; }
            set { _Name = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 40,IsNull = "1")]
        public virtual string SalaryID
        {
            get { return _SalaryID; }
            set { _SalaryID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 40,IsNull = "1")]
        public virtual string Password
        {
            get { return _Password; }
            set { _Password = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "bit",ParameterLength = 1,IsNull = "1")]
        public virtual bool Sex
        {
            get { return _Sex; }
            set { _Sex = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int Xi_ID
        {
            get { return _Xi_ID; }
            set { _Xi_ID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int Suo_ID
        {
            get { return _Suo_ID; }
            set { _Suo_ID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "datetime",ParameterLength = 16,IsNull = "1")]
        public virtual DateTime BirthDay
        {
            get { return _BirthDay; }
            set { _BirthDay = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "datetime",ParameterLength = 16,IsNull = "1")]
        public virtual DateTime JszwzgTime
        {
            get { return _jszwzgTime; }
            set { _jszwzgTime = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int JszwzgID
        {
            get { return _jszwzgID; }
            set { _jszwzgID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 40,IsNull = "1")]
        public virtual string JszwzgClass
        {
            get { return _jszwzgClass; }
            set { _jszwzgClass = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int Degree
        {
            get { return _Degree; }
            set { _Degree = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int EaID
        {
            get { return _EaID; }
            set { _EaID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int PD_id
        {
            get { return _PD_id; }
            set { _PD_id = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int Dpt_id
        {
            get { return _dpt_id; }
            set { _dpt_id = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "datetime",ParameterLength = 16,IsNull = "1")]
        public virtual DateTime SchoolTime
        {
            get { return _SchoolTime; }
            set { _SchoolTime = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "datetime",ParameterLength = 16,IsNull = "1")]
        public virtual DateTime JoinWorkTime
        {
            get { return _JoinWorkTime; }
            set { _JoinWorkTime = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "datetime",ParameterLength = 16,IsNull = "1")]
        public virtual DateTime JoinPartTime
        {
            get { return _JoinPartTime; }
            set { _JoinPartTime = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 40,IsNull = "1")]
        public virtual string Political
        {
            get { return _Political; }
            set { _Political = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 40,IsNull = "1")]
        public virtual string TeacherClass
        {
            get { return _TeacherClass; }
            set { _TeacherClass = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 60,IsNull = "1")]
        public virtual string Speciality
        {
            get { return _Speciality; }
            set { _Speciality = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "datetime",ParameterLength = 16,IsNull = "1")]
        public virtual DateTime GraduteTime
        {
            get { return _GraduteTime; }
            set { _GraduteTime = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 100,IsNull = "1")]
        public virtual string GtaduteSchool
        {
            get { return _GtaduteSchool; }
            set { _GtaduteSchool = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 40,IsNull = "1")]
        public virtual string Bachelor
        {
            get { return _Bachelor; }
            set { _Bachelor = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "datetime",ParameterLength = 16,IsNull = "1")]
        public virtual DateTime BachelorTime
        {
            get { return _BachelorTime; }
            set { _BachelorTime = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 200,IsNull = "1")]
        public virtual string Reserch
        {
            get { return _Reserch; }
            set { _Reserch = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 100,IsNull = "1")]
        public virtual string Country
        {
            get { return _Country; }
            set { _Country = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 60,IsNull = "1")]
        public virtual string HomeTown
        {
            get { return _HomeTown; }
            set { _HomeTown = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 40,IsNull = "1")]
        public virtual string IDNumber
        {
            get { return _IDNumber; }
            set { _IDNumber = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 40,IsNull = "1")]
        public virtual string PhoneNum
        {
            get { return _PhoneNum; }
            set { _PhoneNum = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 100,IsNull = "1")]
        public virtual string Eamil
        {
            get { return _Eamil; }
            set { _Eamil = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 200,IsNull = "1")]
        public virtual string SubjectPartTime
        {
            get { return _SubjectPartTime; }
            set { _SubjectPartTime = value; }
        }
        #endregion
    }
}